package com.cloudweb.oa.service;

import com.redmoon.oa.base.IFormDAO;
import com.redmoon.oa.flow.FormField;
import com.redmoon.oa.flow.Leaf;
import com.redmoon.oa.flow.MyActionDb;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import java.util.Vector;

public interface FlowService {

    JSONObject init(MyActionDb mad, String mutilDept);

    JSONArray fieldsToJSONArray(long myActionId, String skey, Leaf lf, IFormDAO fdao, Vector<FormField> formFields, String[] fdsWrite, String[] fdsHide, JSONArray arrSums) throws JSONException;
}
